package com.csun.cmny.provider.model.dto.comments;


import com.csun.cmny.base.dto.BaseQuery;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.Column;
import java.util.Date;

@Data
public class CommentsQueryDto extends BaseQuery {

    private Long userId;

    private Long groupId;

    /*商品id*/
    private Long merchantId;

    /*商品名称*/
    private String merchantName;

    /*专家id*/
    private Long specialistId;

    /*订单编号*/
    private String orderNo;

    /*专家名字*/
    private String specialistName;

    /*订单类型 0-咨询订单 1-远程视频订单 2-远程监测订单*/
    private Integer orderType;

    /*开始时间*/
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private String startTime;

    /*结束时间*/
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private String endTime;


}
